package com.trade.module.daq.entity;

import com.trade.module.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * Class Description: 数据导入实体类
 *
 * @Version v1.0 2017/6/17 12:18
 * @JDK version 1.8.0_51
 * @Author zfb
 */
@Entity
@Table(name = "daq_data_import")
public class DateImport extends BaseEntity implements Serializable{
    private static final long serialVersionUID = -2564374069638038155L;

    @Column(
            name = "file_intro",
            length = 128
    )
    private String fileIntro;   //文件简介

    @Column(
            name = "file_format",
            length = 10
    )
    private String fileFormat;  //文件格式

    @Column(
            name = "file_size",
            length = 5
    )
    private Long fileSize;    //文件大小

    @Column(
            name = "file_type",
            length = 6
    )
    private String fileType;    //文件类型

    @Column(
            name = "file_status",
            length = 4
    )
    private String fileStatus;  //文件状态

    @Column(
            name = "file_input_mode",
            length = 5
    )
    private String inputMode;   //导入方式

    @Column(
            name = "file_all_names",
            length = 512
    )
    private String fileAllNames;    //文件全名集合 多个文件之间以逗号隔开

    @Column(length = 64)
    private String outSourceID;//目标资源ID

    @Transient
    private String outSourceName;

    @Column(length = 64)
    private String outSourceTableID;//目标资源表ID

    @Transient
    private String outSourceTableName;

    @Column(length = 64)
    private String inSourceID;//数据源ID

    @Transient
    private String inSourceName;

    @Column(length = 64)
    private String inSourceTableID;//数据源表ID

    @Transient
    private String inSourceTableName;

    public String getFileIntro() {
        return fileIntro;
    }

    public void setFileIntro(String fileIntro) {
        this.fileIntro = fileIntro;
    }

    public String getFileFormat() {
        return fileFormat;
    }

    public void setFileFormat(String fileFormat) {
        this.fileFormat = fileFormat;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileStatus() {
        return fileStatus;
    }

    public void setFileStatus(String fileStatus) {
        this.fileStatus = fileStatus;
    }

    public String getInputMode() {
        return inputMode;
    }

    public void setInputMode(String inputMode) {
        this.inputMode = inputMode;
    }

    public String getFileAllNames() {
        return fileAllNames;
    }

    public void setFileAllNames(String fileAllNames) {
        this.fileAllNames = fileAllNames;
    }

    public String getOutSourceID() {
        return outSourceID;
    }

    public void setOutSourceID(String outSourceID) {
        this.outSourceID = outSourceID;
    }

    public String getOutSourceName() {
        return outSourceName;
    }

    public void setOutSourceName(String outSourceName) {
        this.outSourceName = outSourceName;
    }

    public String getOutSourceTableID() {
        return outSourceTableID;
    }

    public void setOutSourceTableID(String outSourceTableID) {
        this.outSourceTableID = outSourceTableID;
    }

    public String getOutSourceTableName() {
        return outSourceTableName;
    }

    public void setOutSourceTableName(String outSourceTableName) {
        this.outSourceTableName = outSourceTableName;
    }

    public String getInSourceID() {
        return inSourceID;
    }

    public void setInSourceID(String inSourceID) {
        this.inSourceID = inSourceID;
    }

    public String getInSourceName() {
        return inSourceName;
    }

    public void setInSourceName(String inSourceName) {
        this.inSourceName = inSourceName;
    }

    public String getInSourceTableID() {
        return inSourceTableID;
    }

    public void setInSourceTableID(String inSourceTableID) {
        this.inSourceTableID = inSourceTableID;
    }

    public String getInSourceTableName() {
        return inSourceTableName;
    }

    public void setInSourceTableName(String inSourceTableName) {
        this.inSourceTableName = inSourceTableName;
    }
}
